# The Power of AMGM Inequality
Considering the following function:
f(x)=x+x1x∈R+
Find the minimal result of this function (without using calculus).
# Pure Evil Solution (Calculus)
I mean who will stop us from using calculus? We know that extremum of the function
will be at a place where the derivative of that function equals 0.
f′(x)=(x+x1)′=(x)′+(x1)′=1−x21
Substituting:
f′(x)=0⟹1−x21=0⟹x21=1⟹x2=1⟹x=1∨x=−1∈/R+⟹x=1
from that we know that we can calculate
ymin=f(1)=1+11=2
which means that fmin=(1,2)
# AMGM
From AMGM inequality we have:
21(1+x1)x+x1⩾AMGM⩾xx12⟹ymin=2
Now we can solve for xmin
x+x1x2+1x2−2x+1⟹xmin=1=2=2x=0
So the minimum of function f is
fmin=(1,2)